
TESTS_ENVIRONMENT = \
	srcdir=${srcdir}; export srcdir; \
	top_builddir=${top_builddir}; export top_builddir; \
	builddir=${builddir}; export builddir; \
	EXEEXT=${EXEEXT}; export EXEEXT;

AM_TESTS_ENVIRONMENT = $(TESTS_ENVIRONMENT)

TEST_EXTENSIONS = .txt
TEST_DATAS = \
	BidiTest.txt \
	BidiCharacterTest.txt

TXT_LOG_COMPILER = sh $(srcdir)/run.tests

AM_CPPFLAGS = \
		@FRIBIDI_CPPFLAGS@ \
		-I$(top_builddir)/lib \
		-I$(top_srcdir)/lib \
		-I$(top_srcdir)/charset
LDADD = $(top_builddir)/lib/libfribidi.la

check_PROGRAMS = BidiTest BidiCharacterTest
TESTS = $(TEST_DATAS)

BidiTest_SOURCES = BidiTest.c
BidiCharacterTest_SOURCES = BidiCharacterTest.c

EXTRA_DIST = \
	run.tests \
	$(TEST_DATAS)

-include $(top_srcdir)/git.mk
